/**
 * Copyright(c) 2010 Ceno Techonologies Co., Ltd.
 *
 * History:
 *   15-8-19 下午1:58 Created by lyyang
 */
package com.jade.bss.web.security.impl;

import com.jade.bss.base.customer.Customer;
import com.jade.bss.web.security.PrincipalUUIDGenerator;

/**
 * 用户uuid生成器
 *
 * @author <a href="mailto:lyyang@ceno.cn">lyyang</a>
 * @version 1.0 15-8-19 下午1:58
 */
public class CustomerUUIDGenerator implements PrincipalUUIDGenerator<Customer>
{

    public String getUUId(Customer customer)
    {
        return customer.getName();
    }
}
